﻿<phone:PhoneApplicationPage 
    x:Class="SlXnaApp3.StartPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:toolkit="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls.Toolkit"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    SupportedOrientations="PortraitOrLandscape" Orientation="Portrait"
    mc:Ignorable="d" d:DesignHeight="768" d:DesignWidth="480"
    shell:SystemTray.IsVisible="True">

    <!--LayoutRoot is the root grid where all page content is placed-->
    <Grid x:Name="LayoutRoot" Background="Transparent">
          

        <!--ContentPanel - place additional content here-->
        <Grid x:Name="ContentPanel" HorizontalAlignment="Stretch" Grid.Row="1" Margin="12,0,12,0" Visibility="Collapsed" >
                <ScrollViewer>
            <StackPanel>
                <ProgressBar Name="pb" IsIndeterminate="True" Visibility="Collapsed" />
                <TextBlock Text="Immunity Buster" FontSize="63" />
                    <Border BorderThickness="5" >
                        <Canvas>
                            <Canvas.Background>
                                <SolidColorBrush Color="CornflowerBlue" />
                            </Canvas.Background>
                        </Canvas>
                    </Border>
                        <TextBlock Text="      Please Make a New Profile" FontSize="30" />
                <StackPanel Orientation="Horizontal">
                    <TextBlock Text="     Name" FontSize="26" Width="150" HorizontalAlignment="Center" VerticalAlignment="Center" />
                        <TextBox x:Name="nameBox" FontSize="26" Width="700"  />
                </StackPanel>
                <StackPanel Orientation="Horizontal" >
                    <TextBlock Text="   Birthdate" Width="150" FontSize="26" VerticalAlignment="Center" />
                        <toolkit:DatePicker x:Name="AgeBox" Width="700"  FontSize="21" />
                </StackPanel>
                <StackPanel Orientation="Horizontal" >
                    <TextBlock Width="146" Text="    Country" VerticalAlignment="Center" FontSize="26" />
                        <toolkit:ListPicker x:Name="countrySelector" Width="700"   FontSize="26" />
                </StackPanel>
                <StackPanel Orientation="Horizontal" >
                    <TextBlock Width="146" Text="     Gender" FontSize="26" VerticalAlignment="Center"/>
                    <toolkit:ListPicker x:Name="genderpicker" Width="700" FontSize="26" />
                </StackPanel>
                <StackPanel Orientation="Horizontal" Tap="StackPanel_Tap" >
                        <ScrollViewer HorizontalScrollBarVisibility="Visible" VerticalScrollBarVisibility="Disabled">
                            <TextBlock Width="160" Text="      Image" VerticalAlignment="Center" FontSize="26" Height="37" />
                        </ScrollViewer>
                        <Image Width="200" Height="200" x:Name="Image" Source="Content/default_user.png" />
                </StackPanel>
                <Button Content="Proceed"  Tap="Button_Tap"/>
            </StackPanel>
            </ScrollViewer>
        </Grid>
        
        <Grid Name="grid2" Visibility="Visible" >
            <TextBlock x:Name="tb2" Text="Green Games Presents..... &#13;Immunity Buster - Fight against AIDS" VerticalAlignment="Center" HorizontalAlignment="Center" Margin="0,-110,0,0" TextAlignment="Center" Loaded="tb2_Loaded"  />
            <ProgressBar IsIndeterminate="True" VerticalAlignment="Center" />
            <TextBlock Text="Loading.." Margin="0,50,0,0" VerticalAlignment="Center" HorizontalAlignment="Center" />
        </Grid>
    </Grid>
 
    <!--Sample code showing usage of ApplicationBar-->
    <!--<phone:PhoneApplicationPage.ApplicationBar>
        <shell:ApplicationBar IsVisible="True" IsMenuEnabled="True">
            <shell:ApplicationBarIconButton IconUri="/Images/appbar_button1.png" Text="Button 1"/>
            <shell:ApplicationBarIconButton IconUri="/Images/appbar_button2.png" Text="Button 2"/>
            <shell:ApplicationBar.MenuItems>
                <shell:ApplicationBarMenuItem Text="MenuItem 1"/>
                <shell:ApplicationBarMenuItem Text="MenuItem 2"/>
            </shell:ApplicationBar.MenuItems>
        </shell:ApplicationBar>
    </phone:PhoneApplicationPage.ApplicationBar>-->

</phone:PhoneApplicationPage>
